package com.qianfeng.ls.pojo;

//商品的实体类
public class GoodsPojo {

    private String gid; //商品id
    private String gname; //商品名称
    private String gimage; //商品的图片
    private float gprice; //价格
    private int tid = -1; //商品类别id;
    private String gdesc; //描述
    private float gdiscount; //折扣
    private int isdelete; //是否删除
    private int glabel = -1;//商品标签; 新品 爆款 折扣
    private int gsex = -1; // 男装 女装

    private GoodsTypePojo gtype; //商品类型

    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public String getGid() {
        return gid;
    }

    public void setGid(String gid) {
        this.gid = gid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public String getGimage() {
        return gimage;
    }

    public void setGimage(String gimage) {
        this.gimage = gimage;
    }

    public float getGprice() {
        return gprice;
    }

    public void setGprice(float gprice) {
        this.gprice = gprice;
    }

    public GoodsTypePojo getGtype() {
        return gtype;
    }

    public void setGtype(GoodsTypePojo gtype) {
        this.gtype = gtype;
    }

    public String getGdesc() {
        return gdesc;
    }

    public void setGdesc(String gdesc) {
        this.gdesc = gdesc;
    }

    public float getGdiscount() {
        return gdiscount;
    }

    public void setGdiscount(float gdiscount) {
        this.gdiscount = gdiscount;
    }

    public int getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(int isdelete) {
        this.isdelete = isdelete;
    }

    public int getGlabel() {
        return glabel;
    }

    public void setGlabel(int glabel) {
        this.glabel = glabel;
    }

    public int getGsex() {
        return gsex;
    }

    public void setGsex(int gsex) {
        this.gsex = gsex;
    }
}
